
var num=1;
function readColor(num){
	var text=$("ul:eq("+num+") li:eq(0)").text();
	var colordiv=$("<div style=\"width:200px;height:200px;\">&nbsp;</div>");
	colordiv.attr("id","colordiv");
	alert(colordiv.text());
	var headdiv=$("#headdiv").append(colordiv);
}


function getSpan(name){
	alert(name);
	var spans=$(name);
	alert(span.length);
}

setTimeout(function () { 
    document.getElementById('clock').value = new Date(); 
 }, 1000); 